// 获取信息状态
export const useSeekState = (needAll=false)=>{
    let stateList =  [
        { label:'启用', value:1 },
        { label:'关闭', value:0 },
    ]
    // if(needAll) stateList.unshift({ label:'全部', value:'' })
 
    return stateList
  }
export const useSeekType = (needAll=false)=>{
    let typeList =  [
        { label:'通知', value:1 },
        { label:'公告', value:0 },
    ]
    // if(needAll) typeList.unshift({ label:'全部', value:'' })
    return typeList
  }

export const useArticleState = (needAll=false)=>{
    let ArticleList =  [
        { label:'显示', value:1 },
        { label:'隐藏', value:0 },
    ]
    // if(needAll) typeList.unshift({ label:'全部', value:'' })
    return ArticleList
  }